#include "Anx_socket.h"


#include "Anx_RTT.h"

#include "Anx_Lwip.h"

const static char* TAG = "SOCKET";

int set_nonblocking(int fd)
{
    int flags = fcntl(fd, F_GETFL, 0);
    return fcntl(fd, F_SETFL, flags | O_NONBLOCK);
}


